{#
    This is the unchanging top bar that is on every single page.
    The only piece of context it can take is `search_query`, which should
    be a string and will populate the search field if it exists
#}
<div class="nav-container">
    <div class="container">
        <div class="pure-menu pure-menu-horizontal" role="navigation" aria-label="Main navigation">
            <form action="/releases/search"
                  method="GET"
                  id="nav-search-form"
                  class="landing-search-form-nav {%
                  if is_latest_version is defined && !is_latest_version %}not-latest{% endif
                  %} {% if metadata is defined && metadata.yanked.unwrap_or_default() %}yanked{% endif %}">

                {# The top-left logo and name #}
                <a href="/" class="pure-menu-heading pure-menu-link docsrs-logo" aria-label="Docs.rs">
                    <span title="Docs.rs">{{ crate::icons::IconCubes.render_solid(false, false, "") }}</span>
                    <span class="title">Docs.rs</span>
                </a>{#

                #}
